package net.cyndeline.xml

import scala.xml.Elem
import net.cyndeline.entitySystem.Event
import net.cyndeline.itemEventFactory.ItemActivation

/**
 * Parses an XML structure and generates a factory that can
 * retrieve events from item usage.
 */
trait ItemParser extends XMLKey {
  def parse(xml: Elem): ItemActivation
}